package com.lanyou.cook.repository;

import java.util.List;

import org.springframework.data.repository.Repository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

import com.lanyou.cook.entity.domain.DataDictionaryValue;

@RepositoryRestResource(exported=false)
public interface DataDictionaryValueRepository
		extends Repository<DataDictionaryValue, String>{

	List<DataDictionaryValue> findById_TypeCode(String typeCode);
	DataDictionaryValue findById_TypeCodeAndId_ValueCode(String typeCode,String valueCode);

}
